package com.snpic.appaw.module.third.api.bjpt.dto.iSPolicyQuery;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;
/**
 * @author JiJun
 * @date 2025/9/19 19:32
 * @修改时间 2025/9/19 19:32
 * @description
 */

@Data
@Schema(description = "保单新增设备信息数据传输对象")
public class ISDeviceDTO {

    @Schema(description = "投保单号码", maxLength = 30)
    private String proposalNo;

    @Schema(description = "分投保单号", maxLength = 30)
    private String subProposalNo;

    @Schema(description = "计划代码[详见码表]", maxLength = 4, required = true)
    private String planCode;

    @Schema(description = "险种代码[详见码表]", maxLength = 4, required = true)
    private String riskCode;

    @Schema(description = "标的代码", example = "1", required = true)
    private BigDecimal itemNo;

    @Schema(description = "序号", example = "1", required = true)
    private BigDecimal serialNo;

    @Schema(description = "设备分类（所属险别）14-新增设备损失险 41-随车行李物品损失险", maxLength = 10, required = true)
    private String deviceType;

    @Schema(description = "设备名称", maxLength = 100, required = true)
    private String deviceName;

    @Schema(description = "币别[详见码表]", maxLength = 3, required = true)
    private String currency;

    @Schema(description = "数量", example = "1", required = true)
    private BigDecimal quantity;

    @Schema(description = "新件购置价", example = "5000.00", required = true)
    private BigDecimal purchasePrice;

    @Schema(description = "购置日期", required = true)
    private Date buyDate;

    @Schema(description = "实际价值", example = "4500.00", required = true)
    private BigDecimal actualValue;
}
